import Layout from "@/layouts/index.vue"
import Main from "@/layouts/components/main.vue"
export default [
  {
    path: "/demo",
    name: "demo",
    meta: {
      icon: "icon-gongzuotai",
      title: "示例",
    },
    component: Layout,
    redirect: "/demo1",
    children: [
      {
        path: "/demoMain",
        name: "demoMain",
        redirect: "/professor",
        meta: {
          title: "列表示例",
        },
        component: Main,
        children: [
          {
            path: "/demo1",
            name: "demo1",
            title: "列表示例",
            meta: {},
            component: import("@/views/demo/professor/list/index.vue"),
          },
          {
            path: "/professorDetailed/:id",
            name: "professorDetailed",
            meta: {
              title: "教授详情",
              // hidden: true,
              // detailedTabmenu: true,
              isDetailed: true,
            },
            component: import("@/views/demo/professor/detailedOpen/index.vue"),
          },
        ],
      },
    ],
  },
]
